﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

public class DailyRegisterElement
{
    public System.Windows.Forms.GroupBox GroupBox;
    public System.Windows.Forms.Label Label1;
    public System.Windows.Forms.Label Label2;
    public System.Windows.Forms.Label Label3;
    public System.Windows.Forms.RadioButton radioButton1;
    public System.Windows.Forms.RadioButton radioButton3;
    public System.Windows.Forms.RadioButton radioButton2;
    public System.Windows.Forms.ComboBox Line_comboBox;
    public System.Windows.Forms.ComboBox Leave_comboBox;


    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    public void Init_Class(DateTime date, int size_x, int size_y, int pos_x, int pos_y)
    {
        string date_str;
        date_str = date.ToString("dddd dd/MM/YYYY");

        this.GroupBox = new System.Windows.Forms.GroupBox();
        this.Label2 = new System.Windows.Forms.Label();
        this.Label3 = new System.Windows.Forms.Label();
        this.Label1 = new System.Windows.Forms.Label();
        this.radioButton1 = new System.Windows.Forms.RadioButton();
        this.radioButton3 = new System.Windows.Forms.RadioButton();
        this.radioButton2 = new System.Windows.Forms.RadioButton();
        this.Leave_comboBox = new System.Windows.Forms.ComboBox();
        this.Line_comboBox = new System.Windows.Forms.ComboBox();
       
        // 
        // GroupBox
        // 
        this.GroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
        this.GroupBox.Controls.Add(this.Label1);
        this.GroupBox.Controls.Add(this.Label2);
        this.GroupBox.Controls.Add(this.Label3);
        this.GroupBox.Controls.Add(this.Leave_comboBox);
        this.GroupBox.Controls.Add(this.Line_comboBox);
        this.GroupBox.Controls.Add(this.radioButton1);
        this.GroupBox.Controls.Add(this.radioButton3);
        this.GroupBox.Controls.Add(this.radioButton2);
        this.GroupBox.Location = new System.Drawing.Point(pos_x, pos_y);
        this.GroupBox.Name = "GroupBox";
        this.GroupBox.Size = new System.Drawing.Size(470, 90);
        this.GroupBox.TabIndex = 1;
        this.GroupBox.TabStop = false;
        this.GroupBox.Text = date_str;

        // 
        // Label1
        // 
        this.Label1.AutoSize = true;
        this.Label1.Location = new System.Drawing.Point(7, 19);
        this.Label1.Name = "Label1";
        this.Label1.Size = new System.Drawing.Size(62, 13);
        this.Label1.TabIndex = 2;
        this.Label1.Text = "Ca làm việc";
        // 
        // Label2
        // 
        this.Label2.AutoSize = true;
        this.Label2.Location = new System.Drawing.Point(171, 16);
        this.Label2.Name = "Label2";
        this.Label2.Size = new System.Drawing.Size(27, 13);
        this.Label2.TabIndex = 2;
        this.Label2.Text = "Line";
        // 
        // Label3
        // 
        this.Label3.AutoSize = true;
        this.Label3.Location = new System.Drawing.Point(321, 19);
        this.Label3.Name = "Label3";
        this.Label3.Size = new System.Drawing.Size(77, 13);
        this.Label3.TabIndex = 2;
        this.Label3.Text = "Loại nghỉ phép";

        // 
        // radioButton1
        // 
        this.radioButton1.AutoSize = true;
        this.radioButton1.Location = new System.Drawing.Point(74, 16);
        this.radioButton1.Name = "radioButton1";
        this.radioButton1.Size = new System.Drawing.Size(47, 17);
        this.radioButton1.TabIndex = 0;
        this.radioButton1.TabStop = true;
        this.radioButton1.Text = "Ca 1";
        this.radioButton1.UseVisualStyleBackColor = true;
        // 
        // radioButton2
        // 
        this.radioButton2.AutoSize = true;
        this.radioButton2.Location = new System.Drawing.Point(74, 39);
        this.radioButton2.Name = "radioButton2";
        this.radioButton2.Size = new System.Drawing.Size(47, 17);
        this.radioButton2.TabIndex = 0;
        this.radioButton2.TabStop = true;
        this.radioButton2.Text = "Ca 2";
        this.radioButton2.UseVisualStyleBackColor = true;
        // 
        // radioButton3
        // 
        this.radioButton3.AutoSize = true;
        this.radioButton3.Location = new System.Drawing.Point(74, 62);
        this.radioButton3.Name = "radioButton3";
        this.radioButton3.Size = new System.Drawing.Size(47, 17);
        this.radioButton3.TabIndex = 0;
        this.radioButton3.TabStop = true;
        this.radioButton3.Text = "Ca 3";
        this.radioButton3.UseVisualStyleBackColor = true;
        // 
        // Leave_comboBox
        // 
        this.Leave_comboBox.FormattingEnabled = true;
        this.Leave_comboBox.Location = new System.Drawing.Point(324, 38);
        this.Leave_comboBox.Name = "Leave_comboBox";
        this.Leave_comboBox.Size = new System.Drawing.Size(121, 21);
        this.Leave_comboBox.TabIndex = 1;

        // 
        // Line_comboBox
        // 
        this.Line_comboBox.FormattingEnabled = true;
        this.Line_comboBox.Location = new System.Drawing.Point(174, 37);
        this.Line_comboBox.Name = "Line_comboBox";
        this.Line_comboBox.Size = new System.Drawing.Size(121, 21);
        this.Line_comboBox.TabIndex = 1;

    }

}